package com.study.shardingjdbcdemo.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
public class Course {

    @Id
    private Long cid;

    private String cname;

    @Column(name = "user_id")
    private Long userId;

    private String cstatus;
}
